Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed thumbnail and file link urls in filebrowser due to path change in ... #40

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

andrewminton
Copy link

...upload fields in 2.3.3

I've added the destination folder back into the code so that the link and thumbnail show up correctly in the filebrowser window.

This wasn't working due to the destination being removed from the upload field in recent changes to the core.

See what you think.

@andrewminton
Copy link
Author

2 additions to this PR give us more scope for other upload field types and also fixes the creation of new entries via filebrowser: the enctype="multipart/form-data" was missing from the form in the filebrowser.js buildform function.

Fixed now, hopefully you'll accept these changes.

… in destination path when JIT is enabled... this way, if a folder deeper in the chain has workspace as it's name it wont get replaced as it would with str_replace.
@bernardodiasc
Copy link

Thanks @andrewminton!

@jurajkapsz
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants